package com.liupei.service.impl;

import com.liupei.entity.Sys;
import com.liupei.mapper.SysMapper;
import com.liupei.service.SysService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SysServiceImpl implements SysService {

    @Resource
    private SysMapper sysMapper;


    @Override
    public int addSys(Sys sys) {
        return sysMapper.insert(sys);
    }
}
